home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{4034C11D-8602-11D1-9840-002078110E7D}#1.0#0"; "asAssistantPopup.ocx"
- Object = "{D19CC187-8393-11D1-983F-002078110E7D}#2.0#0"; "asBubbleForm.ocx"
- Begin VB.Form asBubbleSample
- BorderStyle = 0 'None
- Caption = "Display a bubble window"
- ClientHeight = 2925
- ClientLeft = 6660
- ClientTop = 2340
- ClientWidth = 4020
- LinkTopic = "Form2"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 2925
- ScaleWidth = 4020
- ShowInTaskbar = 0 'False
- Begin asBubbleWindow.asBubbleForm asBubbleForm1
- Height = 2775
- Left = 60
- TabIndex = 5
- TabStop = 0 'False
- Top = 60
- Width = 3855
- _ExtentX = 6800
- _ExtentY = 4895
- BackColor = 8454143
- Style = 1
- ArrowOffSet = 60
- Begin VB.TextBox txtSearch
- Appearance = 0 'Flat
- BeginProperty Font
- Name = "Tahoma"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 675
- Left = 120
- MultiLine = -1 'True
- TabIndex = 0
- Top = 600
- Width = 3615
- End
- Begin asAssistantPopup.asAssisPopup cmdSearch
- Height = 375
- Left = 1080
- TabIndex = 1
- Top = 1380
- Width = 1695
- _ExtentX = 2990
- _ExtentY = 661
- BackColor = 8454143
- Caption = "&Search"
- Picture = "asBubbleSample.frx":0000
- MouseOverPicture= "asBubbleSample.frx":015A
- MouseDownPicture= "asBubbleSample.frx":02B4
- DisabledPicture = "asBubbleSample.frx":040E
- AutoSize = 0 'False
- PictureHeight = 16
- PictureWidth = 16
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- End
- Begin asAssistantPopup.asAssisPopup cmdClose
- Height = 375
- Left = 2640
- TabIndex = 3
- Top = 1980
- Width = 1095
- _ExtentX = 1931
- _ExtentY = 661
- BackColor = 8454143
- Caption = "&Close"
- Picture = "asBubbleSample.frx":0568
- MouseOverPicture= "asBubbleSample.frx":06C2
- MouseDownPicture= "asBubbleSample.frx":081C
- DisabledPicture = "asBubbleSample.frx":0976
- AutoSize = 0 'False
- PictureHeight = 16
- PictureWidth = 16
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- End
- Begin asAssistantPopup.asAssisPopup cmdOptions
- Height = 375
- Left = 1380
- TabIndex = 2
- Top = 1980
- Width = 1095
- _ExtentX = 1931
- _ExtentY = 661
- BackColor = 8454143
- Caption = "&Options"
- Picture = "asBubbleSample.frx":0AD0
- MouseOverPicture= "asBubbleSample.frx":0C2A
- MouseDownPicture= "asBubbleSample.frx":0D84
- DisabledPicture = "asBubbleSample.frx":0EDE
- AutoSize = 0 'False
- PictureHeight = 16
- PictureWidth = 16
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- End
- Begin asAssistantPopup.asAssisPopup cmdTips
- Height = 375
- Left = 120
- TabIndex = 4
- Top = 1980
- Width = 1095
- _ExtentX = 1931
- _ExtentY = 661
- BackColor = 8454143
- Caption = "&Tips"
- Picture = "asBubbleSample.frx":1038
- MouseOverPicture= "asBubbleSample.frx":1192
- MouseDownPicture= "asBubbleSample.frx":12EC
- DisabledPicture = "asBubbleSample.frx":1446
- Enabled = 0 'False
- AutoSize = 0 'False
- PictureHeight = 16
- PictureWidth = 16
- BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- Name = "Tahoma"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- End
- Begin VB.Label Label1
- BackStyle = 0 'Transparent
- Caption = "What would you like to do?"
- BeginProperty Font
- Name = "Tahoma"
- Size = 9.75
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 315
- Left = 120
- TabIndex = 6
- Top = 120
- Width = 3615
- End
- Begin VB.Line Line2
- BorderColor = &H8000000F&
- X1 = 120
- X2 = 3720
- Y1 = 480
- Y2 = 480
- End
- Begin VB.Line Line1
- BorderColor = &H8000000F&
- X1 = 120
- X2 = 3720
- Y1 = 1860
- Y2 = 1860
- End
- End
- Attribute VB_Name = "asBubbleSample"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub cmdClose_Click()
- 'goodbye
- Unload Me
- End Sub
- Private Sub cmdOptions_Click()
- MsgBox "Options would go here..."
- Unload Me
- End Sub
- Private Sub cmdSearch_Click()
- MsgBox "You have typed:" & Chr(13) & txtSearch.Text
- Unload Me
- End Sub
- Private Sub Form_Load()
- 'set the back colors to the Help Assistant
- 'bubble window back color
- asBubbleForm1.BackColor = RGB(255, 255, 209)
- cmdTips.BackColor = asBubbleForm1.BackColor
- cmdClose.BackColor = asBubbleForm1.BackColor
- cmdOptions.BackColor = asBubbleForm1.BackColor
- cmdSearch.BackColor = asBubbleForm1.BackColor
- 'clip out the bubble region of the form
- asBubbleForm1.CreateRegion
- End Sub
-